<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: ViewGroupCollection</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../dc/d18/struct_view_group_collection-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">ViewGroupCollection</div></div>
</div><!--header-->
<div class="contents">

<p>一个文件关联一个视图组集合  
 <a href="../../da/d6f/struct_view_group_collection.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../da/d3b/_a_t_view_group_8h_source.html">ATViewGroup.h</a>&gt;</code></p>

<p>继承自 NonCopyableClass .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab3f3eed55b325ff27936386ad67c9d22"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ViewGroupPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#ab3f3eed55b325ff27936386ad67c9d22">FindByName</a> (WCharCP name) const</td></tr>
<tr class="memdesc:ab3f3eed55b325ff27936386ad67c9d22"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过名称（大小写敏感）查找视图组  <a href="../../da/d6f/struct_view_group_collection.html#ab3f3eed55b325ff27936386ad67c9d22">更多...</a><br /></td></tr>
<tr class="separator:ab3f3eed55b325ff27936386ad67c9d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a163f41afa96782021faf48ee256f63"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ViewGroupPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#a4a163f41afa96782021faf48ee256f63">FindByObjectId</a> (ObjectId objectID) const</td></tr>
<tr class="memdesc:a4a163f41afa96782021faf48ee256f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过存储视图组信息的元素的ID查找视图组  <a href="../../da/d6f/struct_view_group_collection.html#a4a163f41afa96782021faf48ee256f63">更多...</a><br /></td></tr>
<tr class="separator:a4a163f41afa96782021faf48ee256f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c622cc9feae566c361994916107a9ac"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ViewGroupPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#a5c622cc9feae566c361994916107a9ac">FindBySceneId</a> (SceneID sceneID, bool allViewsMatch, int thisViewMatches) const</td></tr>
<tr class="memdesc:a5c622cc9feae566c361994916107a9ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过视图组中视图的根场景ID查找视图组  <a href="../../da/d6f/struct_view_group_collection.html#a5c622cc9feae566c361994916107a9ac">更多...</a><br /></td></tr>
<tr class="separator:a5c622cc9feae566c361994916107a9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554cf289727efdae6f70e1a75dd634ad"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ViewGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#a554cf289727efdae6f70e1a75dd634ad">SaveChanges</a> () const</td></tr>
<tr class="memdesc:a554cf289727efdae6f70e1a75dd634ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存该视图组集合中的所有视图组的更改到项目中  <a href="../../da/d6f/struct_view_group_collection.html#a554cf289727efdae6f70e1a75dd634ad">更多...</a><br /></td></tr>
<tr class="separator:a554cf289727efdae6f70e1a75dd634ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a828cdb6c256086355d970d8a33b7e7dc"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ViewGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#a828cdb6c256086355d970d8a33b7e7dc">Delete</a> (ViewGroupP viewGroup)</td></tr>
<tr class="memdesc:a828cdb6c256086355d970d8a33b7e7dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">从视图组集合中删除指定的视图组，当指定的视图组不是临时的视图组时，将立刻从项目中进行删除  <a href="../../da/d6f/struct_view_group_collection.html#a828cdb6c256086355d970d8a33b7e7dc">更多...</a><br /></td></tr>
<tr class="separator:a828cdb6c256086355d970d8a33b7e7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e34c33c375888897c05e3c45773c1cd"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATProjectP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6f/struct_view_group_collection.html#a1e34c33c375888897c05e3c45773c1cd">GetATProjectP</a> () const</td></tr>
<tr class="memdesc:a1e34c33c375888897c05e3c45773c1cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取该视图组集合关联的项目  <a href="../../da/d6f/struct_view_group_collection.html#a1e34c33c375888897c05e3c45773c1cd">更多...</a><br /></td></tr>
<tr class="separator:a1e34c33c375888897c05e3c45773c1cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >一个文件关联一个视图组集合 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a828cdb6c256086355d970d8a33b7e7dc" name="a828cdb6c256086355d970d8a33b7e7dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a828cdb6c256086355d970d8a33b7e7dc">&#9670;&nbsp;</a></span>Delete()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ViewGroupStatus ViewGroupCollection::Delete </td>
          <td>(</td>
          <td class="paramtype">ViewGroupP&#160;</td>
          <td class="paramname"><em>viewGroup</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从视图组集合中删除指定的视图组，当指定的视图组不是临时的视图组时，将立刻从项目中进行删除 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ViewGroupP</td><td>viewGroup </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ViewGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ab3f3eed55b325ff27936386ad67c9d22" name="ab3f3eed55b325ff27936386ad67c9d22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3f3eed55b325ff27936386ad67c9d22">&#9670;&nbsp;</a></span>FindByName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ViewGroupPtr ViewGroupCollection::FindByName </td>
          <td>(</td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过名称（大小写敏感）查找视图组 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WCharCP</td><td>name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ViewGroupPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a4a163f41afa96782021faf48ee256f63" name="a4a163f41afa96782021faf48ee256f63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a163f41afa96782021faf48ee256f63">&#9670;&nbsp;</a></span>FindByObjectId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ViewGroupPtr ViewGroupCollection::FindByObjectId </td>
          <td>(</td>
          <td class="paramtype">ObjectId&#160;</td>
          <td class="paramname"><em>objectID</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过存储视图组信息的元素的ID查找视图组 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ObjectId</td><td>objectID </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ViewGroupPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a5c622cc9feae566c361994916107a9ac" name="a5c622cc9feae566c361994916107a9ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c622cc9feae566c361994916107a9ac">&#9670;&nbsp;</a></span>FindBySceneId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ViewGroupPtr ViewGroupCollection::FindBySceneId </td>
          <td>(</td>
          <td class="paramtype">SceneID&#160;</td>
          <td class="paramname"><em>sceneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allViewsMatch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>thisViewMatches</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过视图组中视图的根场景ID查找视图组 </p>
<dl class="section note"><dt>注解</dt><dd>如果有多个视图组符合条件，则优先返回上次保存设置时活跃的视图组，否则返回最近更改的视图组</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneID</td><td>sceneID 用于查找的场景ID </td></tr>
    <tr><td class="paramname">bool</td><td>allViewsMatch 传True的话视图组中所有的视图的根场景ID都必须为该值，并且thisViewMatches参数将被忽略 </td></tr>
    <tr><td class="paramname">int</td><td>thisViewMatches 如果值在0到MAX_VIEWS-1之间，如果该值对应的视图的根场景ID为传入的modelID，则返回True；否则，则当第一个视图的根场景ID与传入的场景ID匹配才返回True </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ViewGroupPtr</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a1e34c33c375888897c05e3c45773c1cd" name="a1e34c33c375888897c05e3c45773c1cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e34c33c375888897c05e3c45773c1cd">&#9670;&nbsp;</a></span>GetATProjectP()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATProjectP ViewGroupCollection::GetATProjectP </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取该视图组集合关联的项目 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATProjectP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a554cf289727efdae6f70e1a75dd634ad" name="a554cf289727efdae6f70e1a75dd634ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a554cf289727efdae6f70e1a75dd634ad">&#9670;&nbsp;</a></span>SaveChanges()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ViewGroupStatus ViewGroupCollection::SaveChanges </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>保存该视图组集合中的所有视图组的更改到项目中 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ViewGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../da/d3b/_a_t_view_group_8h_source.html">ATViewGroup.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
